package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * demo测试对象 demo_test
 *
 * @author ruoyi
 * @date 2023-11-08
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("demo_test")
@ApiModel(value = "DemoTest", description = "demo测试实体")
public class DemoTest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("主键id")
    private Long id;

    /** 测试人年龄 */
    @Excel(name = "测试人年龄")
    @ApiModelProperty("测试人年龄")
    private String testAge;

    /** 测试人姓名 */
    @Excel(name = "测试人姓名")
    @ApiModelProperty("测试人姓名")
    private String testName;

}
